package com.richdown.movie.util;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

import com.feinno.xframe.codec.Md5;

public class Test {
	public static void main(String[] args) throws Exception {
//		Boolean b=true;
//		Object o=b;
//		String s=o.toString();
//		System.out.println(b.toString());
//		System.out.println("!!!"+s+"!!!");
//		System.out.println(URLEncoder.encode("CNY_AMT=100#CMY_AMT=0#RED_AMT=0#VCH_AMT=0#POT_CHG_AMT=0", "UTF-8"));
//		System.out.println(Md5.encode("a"));
//		System.out.println("3673438f11d71c21a9b8b59232a3dd61");
		System.out.println(URLEncoder.encode("飞信", "GBK"));
		System.out.println(URLEncoder.encode("飞", "GBK"));
		System.out.println(URLEncoder.encode("短信包", "GBK"));
		System.out.println(URLEncoder.encode("飞信", "UTF-8"));
	}
}
